date_time_of

Returns the time section of a datetime value.

语法:

date_time_of(date);


参数 描述
date The datetime to extract the time from.


返回: Real(实数)


描述

Returns the time value of the given datetime. The time returned ignores Daylight Saving Time (and so is Universal Time) and would normally be used in conjunction with another date/time handling function.


例如:

time = date_time_of(date_current_datetime());

This would return the current time only and store the value in the variable "time".


上一页: Date And Time
下一页: date_time_string
© Copyright YoYo Games Ltd. 2018 All Rights Reserved